using System.ComponentModel;

namespace SumerCoreDevOps.Shared.Enums;

/// <summary>
/// 工作流步骤类型
/// </summary>
public enum StepType
{
    [Description("拉取代码")]
    GitClone = 1,

    [Description("构建")]
    Build = 2,

    [Description("测试")]
    Test = 3,

    [Description("发布")]
    Publish = 4,

    [Description("部署到Docker")]
    DeployDocker = 5,

    [Description("部署到K8s")]
    DeployK8s = 6,

    [Description("上传到Maven")]
    UploadMaven = 7,

    [Description("上传到NuGet")]
    UploadNuGet = 8,

    [Description("清理")]
    Cleanup = 9,

    [Description("自定义脚本")]
    CustomScript = 10,

    [Description("部署Docker到远程主机")]
    DockerDeployRemote = 11,

    [Description("打包构建产物")]
    ArchiveArtifacts = 12
}
